﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using 扫码枪应用项目;

namespace MYZNMarking
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);
            string ConnString = "Data Source = " + Application.StartupPath + "\\DataBase\\Marking_Histpry;Pooling=true;FailIfMissing=false";
            SQLiteHelper.ConnString = ConnString;
            FrmLogin formLogin = new FrmLogin();
            if (formLogin.ShowDialog() == DialogResult.OK)
                Application.Run(new FrmMain());
        }

        public static string User { get; set; }
        public static string Loal { get; set; }
    }
}
